package com.app.community.service;

import com.app.community.mapper.LoginMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author SakuraA6
 * @Description 登录业务逻辑
 * @Date 2020/10/12 13:56
 **/
@Service
public class LoginService {

    @Autowired
    LoginMapper loginMapper;

    /**
     * 返回用户密码，通过shiro进行比对
     */
    public String selectUserPassword(String userId){
        return loginMapper.selectUserPassword(userId);
    }

}
